Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue95 Interactor for Volunteers#reactivate #109

Merged
merged 2 commits into from
Mar 29, 2017

Conversation

jconley88
Copy link
Contributor

@jconley88 jconley88 commented Mar 25, 2017

Overview

Pull Volunteers#reactivate logic into an Interactor.

Details

I developed an Authorize module that extends (monkey patches, 🙈) the Interactor module. Good idea? Bad idea?

@jconley88 jconley88 force-pushed the issue95_reactivate branch from 1b8db7f to c73aa9a Compare March 25, 2017 02:24
@ericfreese
Copy link
Member

I developed an Authorize module that extends (monkey patches, 🙈) the Interactor module. Good idea? Bad idea?

So I think most of the authorization stuff will be handled by CanCanCan (see #96). I'm not sure how I feel about pulling auth into the interactors, but I think I'd lean toward keeping it in the controllers, at least until we have more interactors built out and have a larger understanding of how we would best build a framework like this that works for all of them.

@jconley88 jconley88 force-pushed the issue95_reactivate branch from c73aa9a to 0a257f3 Compare March 29, 2017 03:31
@jconley88
Copy link
Contributor Author

Yeah, that makes more sense.

Copy link
Member

@ericfreese ericfreese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rylanb rylanb merged commit 5eb6667 into boulder-food-rescue:master Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants